<%@page import="bean.CreateUserFormBean"%>
<% /* 	
@author Philipp Hollenstein
@version 10.07.2013
*/ %>
<% request.setAttribute("title", "Benutzer erfassen"); %>
<%@include file="./includes/header.jsp" %>

Benutzer erfassen

<form action="createUser.do" method="post">
	<table class = "tableCenter">
		<tr>
			<td>Nachname</td>
			<td><input name="nachname" type="text" value='<%=(session.getAttribute("createUserFormBean") != null ? ((CreateUserFormBean)session.getAttribute("createUserFormBean")).getNachname() : "") %>'></td>
		</tr>
		<tr>
			<td>Vorname</td>
			<td><input name="vorname" type="text" value='<%=(session.getAttribute("createUserFormBean") != null ? ((CreateUserFormBean)session.getAttribute("createUserFormBean")).getVorname() : "") %>'></td>
		</tr>
		<tr>
			<td>Benutzername</td>
			<td><input name="username" type="text" value='<%=(session.getAttribute("createUserFormBean") != null ? ((CreateUserFormBean)session.getAttribute("createUserFormBean")).getUsername() : "") %>'></td>
		</tr>
		<tr>
			<td>Passwort</td>
			<td><input name="password" type="password"></td>
		</tr>
		<tr>
			<td>Rolle</td>
			<td>
				<select name="role" size="1">
					<option value="Aktienhaendler">Aktienh&auml;ndler</option>
					<option value="Administrator">Administrator</option>
				</select>
			</td>
		</tr>
		<tr>
			<td></td>
			<td><input name="createUser" type="submit" value="OK"></td>
		</tr>
	</table>
</form>



<%@include file="./includes/footer.jsp" %>